/* 
  var line;
  while ((line = read_line())!== "") {
    let num = line;
    let res = solve(num);
    print(res);
  }


function solve(num) {
  let len = num.length;
  let res = 0;
  for (let i = 0; i < len - 1; i++) {
    for (let j = i + 1; j < len; j++) {
      if (Number(num.substr(i, j + 1)) % 22 === 0) {
        res++;
      }
    }
  }
  return res;
} */

let arr =[1,2]
for(let i=2;i<6;i++){
    arr[i]=arr.reduce((pre,cur)=>{
        return pre+cur
    })
}
console.log(arr)